package com.onlineOrder.bean;

import java.sql.Blob;
import java.util.Objects;

public class menuList {
    private String idPic;
    private String menus;
    private String   img;
    private String price;
    private String shopName;
    private String shopID;
    private String shopPhone;
    public  String likes;

    public String getLikes() {
        return likes;
    }

    public void setLikes(String likes) {
        this.likes = likes;
    }

    public String getIdPic() {
        return idPic;
    }

    public void setIdPic(String idPic) {
        this.idPic = idPic;
    }

    public String getMenus() {
        return menus;
    }

    public void setMenus(String menus) {
        this.menus = menus;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getShopID() {
        return shopID;
    }

    public void setShopID(String shopID) {
        this.shopID = shopID;
    }

    public String getShopPhone() {
        return shopPhone;
    }

    public void setShopPhone(String shopPhone) {
        this.shopPhone = shopPhone;
    }

    public menuList() {
    }

    @Override
    public String toString() {
        return "menuList{" +
                "idPic='" + idPic + '\'' +
                ", menus='" + menus + '\'' +
                ", img='" + img + '\'' +
                ", price='" + price + '\'' +
                ", shopName='" + shopName + '\'' +
                ", shopID='" + shopID + '\'' +
                ", shopPhone='" + shopPhone + '\'' +
                ", likes='" + likes + '\'' +
                '}';
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        menuList menuList = (menuList) o;
        return Objects.equals(idPic, menuList.idPic) && Objects.equals(menus, menuList.menus) && Objects.equals(img, menuList.img) && Objects.equals(price, menuList.price) && Objects.equals(shopName, menuList.shopName) && Objects.equals(shopID, menuList.shopID) && Objects.equals(shopPhone, menuList.shopPhone) && Objects.equals(likes, menuList.likes);
    }

    @Override
    public int hashCode() {
        return Objects.hash(idPic, menus, img, price, shopName, shopID, shopPhone, likes);
    }
}
